ValueTime=4;
ValueFilter=1;
n2=33;
n5Temp3=152;
if n2==32||n2==6
    n3Temp3=6;
else
    if n2==33
        n3Temp3=2;
    else
        n3Temp3=6;
    end
end
ValueFolderTemp='/sps/isc/rneveu/EtudeIRM/Nature/ResultsJournal/';
if ValueTime>=1
    if ValueFilter==0
        ValueFile=['FileAnalysis' num2str(ValueTime) 'JournalTemp' num2str(n2) '.mat'];
    else
        ValueFile=['FileAnalysis' num2str(ValueTime) 'Filtered' num2str(ValueFilter) 'JournalTemp' num2str(n2) '.mat'];
    end
else
    if ValueFilter==0
        ValueFile=['FileAnalysisJournalTemp' num2str(n2) '.mat'];
    else
        ValueFile=['FileAnalysisFiltered' num2str(ValueFilter) 'JournalTemp' num2str(n2) '.mat'];
    end
end
load([ValueFolderTemp ValueFile]);
VecResultsArticle1Temp=VecResultsArticle1;
VecResultsArticle2Temp=VecResultsArticle2;
n1Temp3=n1;

for n4Temp3=1:n5Temp3
    nStartTemp3=n1Temp3+(n4Temp3-1)*n3Temp3+1
    n6Temp3=n1Temp3+n4Temp3*n3Temp3;
    if ValueTime>=1
        if ValueFilter==0
            ValueFile=['FileAnalysis' num2str(ValueTime) 'Journal' num2str(n2) 'Start' num2str(nStartTemp3) '.mat'];
        else
            ValueFile=['FileAnalysis' num2str(ValueTime) 'Filtered' num2str(ValueFilter) 'Journal' num2str(n2) 'Start' num2str(nStartTemp3) '.mat'];
        end
    else
        if ValueFilter==0
            ValueFile=['FileAnalysisJournal' num2str(n2) 'Start' num2str(nStartTemp3) '.mat'];
        else
            ValueFile=['FileAnalysisFiltered' num2str(ValueFilter) 'Journal' num2str(n2) 'Start' num2str(nStartTemp3) '.mat'];
        end
    end
    load([ValueFolderTemp ValueFile]);
    VecResultsArticle1Temp=VecResultsArticle1Temp+VecResultsArticle1;
    VecResultsArticle2Temp=VecResultsArticle2Temp+VecResultsArticle2;
end
VecResultsArticle1=VecResultsArticle1Temp;
VecResultsArticle2=VecResultsArticle2Temp;

if ValueTime>=1
    if ValueFilter==0
        ValueFile=['FileAnalysis' num2str(ValueTime) 'Journal' num2str(n2) '.mat'];
    else
        ValueFile=['FileAnalysis' num2str(ValueTime) 'Filtered' num2str(ValueFilter) 'Journal' num2str(n2) '.mat'];
    end
else
    if ValueFilter==0
        ValueFile=['FileAnalysisJournal' num2str(n2) '.mat'];
    else
        ValueFile=['FileAnalysisFiltered' num2str(ValueFilter) 'Journal' num2str(n2) '.mat'];
    end
end
save([ValueFolderTemp ValueFile],'VecResultsArticle1','VecResultsArticle2');
n6Temp3
    